import request from '../utils/request';

//获取首页数据api
export function getHome(params){
    return  request({
        url:'/getOrderData',
        method:'get',
        params
    })
}

// 取消单个
export function deleteByid(params){
    return  request({
        url:'/deleteByid',
        method:'post',
        data:params
    })
}


// 批量删除
export function batchDelete(params){
    return  request({
        url:'/batchDelete',
        method:'post',
        data:params
    })
}

//查看
export function lookOrder(params){
    return  request({
        url:'/lookOrder',
        method:'get',
        data:params
    })
}